use indicatif::ProgressStyle;
use lazy_static::lazy_static;

lazy_static! {
    pub static ref PB_CRAWL_STYLE: ProgressStyle = ProgressStyle::with_template(
        "{prefix:.bold.dim} {eta}[{elapsed_precise}] {bar:40.cyan/blue} {pos:>7}/{len:7} {msg}"
    )
    .expect("Create crawler progress bar style failed");
    
    pub static ref PB_SPINNER_STYLE: ProgressStyle = ProgressStyle::with_template(
        "{prefix:.bold.dim} {spinner} {wide_msg}"
    )
    .expect("Create spinner progress bar style failed")
    .tick_chars("⠁⠂⠄⡀⢀⠠⠐⠈ ");
}